home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 2.4 KB | 70 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENUS_K
- #include "FWMenus.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- // Cyberdog currently is Mac-only (and CodeWarrior only also!)
-
- #if defined(FW_BUILD_MAC) && defined (__MWERKS__)
- #define FW_SUPPORTS_CYBERDOG 1
- #else
- #define FW_SUPPORTS_CYBERDOG 0
- #endif
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS (FW_SUPPORTS_CYBERDOG)
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 139
- #define kAboutIconID 141
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1100
-
- // ----- Commands -----
- #define cHalfSize FW_kFirstUserCommandID
- #define cRealSize FW_kFirstUserCommandID + 1
- #define cDoubleSize FW_kFirstUserCommandID + 2
- #define cFitToFrame FW_kFirstUserCommandID + 3
- #define cRequestFrame FW_kFirstUserCommandID + 4
- #define cRemoveFrame FW_kFirstUserCommandID + 5
-
- //#if FW_SUPPORTS_CYBERDOG
- #define cReload FW_kFirstUserCommandID + 6
- #define cReloadFast FW_kFirstUserCommandID + 7
- #define cCyberdogCommands (FW_kFirstUserCommandID + 100)
- //#endif
-
- //-------------------------------------------------------------------------------------
- // Various Resources
- #define kAbout 1100 // FW_RAbout
- #define kPartInfoID 1100 // FW_RPartInfo
- #define kSaveAs 1100 // FW_RSaveAsInfo
-
- #endif
-
-